﻿<div class="panel panel-default"> <!--ng-controller="DicSystemAddCtrl"-->
    <div class="panel-heading font-bold">字典系统 - 添加</div>
    <div class="panel-body">
        <form name="form" class="bs-example form-horizontal form-validation">
            <div class="form-group">
                <label class="col-lg-2 control-label">名称</label>
                <div class="col-lg-10">
                    <input type="text" class="form-control" placeholder="字典系统名称" ng-model="system.name" required />
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">英文名</label>
                <div class="col-lg-10">
                    <input type="text" class="form-control" placeholder="字典系统英文名" ng-model="system.ename" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">归类编码</label>
                <div class="col-lg-4">
                    <input type="text" class="form-control" placeholder="引证归类编码" ng-model="system.tsSourceCode" required />
                </div>
                <label class="col-lg-2 control-label">版本</label>
                <div class="col-lg-4">
                    <input type="text" class="form-control" placeholder="字典系统版本" ng-model="system.version" required />
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">缩写</label>
                <div class="col-lg-4">
                    <input type="text" class="form-control" placeholder="字典系统缩写" ng-model="system.abbreviation" />
                </div>
                <label class="col-lg-2 control-label">输入码</label>
                <div class="col-lg-4">
                    <input type="text" class="form-control" placeholder="输入码" ng-model="system.inputCode" />
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">体系</label>
                <div class="col-lg-4">
                    <select name="account" class="form-control" ng-model="system.tds" required>
                        <option>option 1</option>
                        <option>option 2</option>
                        <option>option 3</option>
                        <option>option 4</option>
                    </select>
                </div>
                <label class="col-lg-2 control-label">状态</label>
                <div class="col-lg-4">
                    <select name="account" class="form-control" ng-model="system.status" required>
                        <option>option 1</option>
                        <option>option 2</option>
                        <option>option 3</option>
                        <option>option 4</option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">发布日期</label>
                <div class="col-lg-4" ng-controller="DatepickerCtrl">
                    <div class="input-group">
                        <!--w-sm-->
                        <input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="system.publishDate" is-open="opened" datepicker-options="dateOptions" ng-required="true" today-text="今天" clear-text="清除" close-text="关闭" />
                        <span class="input-group-btn">
                            <button type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                        </span>
                    </div>
                </div>
                <label class="col-lg-2 control-label">实施日期</label>
                <div class="col-lg-4" ng-controller="DatepickerCtrl">
                    <div class="input-group">
                        <!--w-sm-->
                        <input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="system.enableDate" is-open="opened" datepicker-options="dateOptions" ng-required="true" close-text="关闭" />
                        <span class="input-group-btn">
                            <button type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                        </span>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">是否推荐</label>
                <div class="col-lg-10">
                    <div class="checkbox">
                        <label class="i-checks">
                            <input type="checkbox" checked ng-model="system.recommended" /><i></i>
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg-2 control-label">描述</label>
                <div class="col-lg-10">
                    <textarea class="form-control" rows="6" placeholder="字典系统描述" ng-model="system.describe"></textarea>
                </div>
            </div>
            <div class="line line-dashed b-b line-lg"></div>
            <div class="form-group">
                <div class="col-lg-4 col-lg-offset-2">
                    <button type="submit" class="btn btn-success" ng-click="ok()" ng-disabled="form.$invalid">保存</button>
                    <button type="submit" class="btn btn-default" ng-click="cancel()">取消</button>
                </div>
            </div>
            <!--<div class="form-group">
                <label class="col-lg-2 control-label">Email</label>
                <div class="col-lg-10">
                    <input type="email" class="form-control" placeholder="Email">
                    <span class="help-block m-b-none">Example block-level help text here.</span>
                </div>
            </div>-->
            <!--<div class="form-group">
                <div class="col-lg-offset-2 col-lg-10">
                    <div class="checkbox">
                        <label class="i-checks">
                            <input type="checkbox" checked><i></i> Remember me
                        </label>
                    </div>
                </div>
            </div>-->
            <!--<div class="form-group">
                <div class="col-lg-offset-2 col-lg-10">
                    <button type="submit" class="btn btn-sm btn-info">Sign in</button>
                </div>
            </div>-->
        </form>
    </div>
</div>